[INFO] cloning repository https://github.com/patrickvonplaten/rust_expectation_maximisation
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrickvonplaten/rust_expectation_maximisation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickvonplaten%2Frust_expectation_maximisation", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickvonplaten%2Frust_expectation_maximisation'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3b53ec8fa86ff300c2ca2e5f44f6625053915378
[INFO] checking patrickvonplaten/rust_expectation_maximisation against master#98e1f041b6e33598a18edb928ec9db93a850c6cb for pr-101680
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickvonplaten%2Frust_expectation_maximisation" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/patrickvonplaten/rust_expectation_maximisation on toolchain 98e1f041b6e33598a18edb928ec9db93a850c6cb
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/patrickvonplaten/rust_expectation_maximisation
[INFO] finished tweaking git repo https://github.com/patrickvonplaten/rust_expectation_maximisation
[INFO] tweaked toml for git repo https://github.com/patrickvonplaten/rust_expectation_maximisation written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/patrickvonplaten/rust_expectation_maximisation already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b9a54f18c91da366cacd5b05e6697f0142400755484a09e980cf7d62856da2ea
[INFO] running `Command { std: "docker" "start" "-a" "b9a54f18c91da366cacd5b05e6697f0142400755484a09e980cf7d62856da2ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b9a54f18c91da366cacd5b05e6697f0142400755484a09e980cf7d62856da2ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9a54f18c91da366cacd5b05e6697f0142400755484a09e980cf7d62856da2ea", kill_on_drop: false }`
[INFO] [stdout] b9a54f18c91da366cacd5b05e6697f0142400755484a09e980cf7d62856da2ea
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0ad7a9f32816bd380d6a9420d26b62633a46f9ef227cfafd30a9c4513df51262
[INFO] running `Command { std: "docker" "start" "-a" "0ad7a9f32816bd380d6a9420d26b62633a46f9ef227cfafd30a9c4513df51262", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.74
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling serde v1.0.114
[INFO] [stderr]     Checking ppv-lite86 v0.2.8
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking regex-automata v0.1.9
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking rand_distr v0.2.2
[INFO] [stderr]     Checking bstr v0.2.13
[INFO] [stderr]     Checking csv v1.1.3
[INFO] [stderr]     Checking old_faithful_learn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: this file contains an unclosed delimiter
[INFO] [stdout]   --> src/main.rs:93:3
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl GaussianProb {
[INFO] [stdout]    |                   - unclosed delimiter
[INFO] [stdout] ...
[INFO] [stdout] 83 |     fn compute_prob(x: Vec<f32>) -> f32 {
[INFO] [stdout]    |                                         - this delimiter might not be properly closed...
[INFO] [stdout] 84 |         let exp = x - mean
[INFO] [stdout] 85 | }
[INFO] [stdout]    | - ...as it matches this but it has different indentation
[INFO] [stdout] ...
[INFO] [stdout] 93 | }
[INFO] [stdout]    |   ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this file contains an unclosed delimiter
[INFO] [stdout]   --> src/main.rs:93:3
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl GaussianProb {
[INFO] [stdout]    |                   - unclosed delimiter
[INFO] [stdout] ...
[INFO] [stdout] 83 |     fn compute_prob(x: Vec<f32>) -> f32 {
[INFO] [stdout]    |                                         - this delimiter might not be properly closed...
[INFO] [stdout] 84 |         let exp = x - mean
[INFO] [stdout] 85 | }
[INFO] [stdout]    | - ...as it matches this but it has different indentation
[INFO] [stdout] ...
[INFO] [stdout] 93 | }
[INFO] [stdout]    |   ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/main.rs:84:27
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let exp = x - mean
[INFO] [stdout]    |                           ^ help: add `;` here
[INFO] [stdout] 85 | }
[INFO] [stdout]    | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/main.rs:84:27
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let exp = x - mean
[INFO] [stdout]    |                           ^ help: add `;` here
[INFO] [stdout] 85 | }
[INFO] [stdout]    | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_random_vector` in this scope
[INFO] [stdout]   --> src/main.rs:63:30
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mean: Vec<f32> = get_random_vector(dim);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider using the associated function
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mean: Vec<f32> = Self::get_random_vector(dim);
[INFO] [stdout]    |                              ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_random_vector` in this scope
[INFO] [stdout]   --> src/main.rs:63:30
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mean: Vec<f32> = get_random_vector(dim);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider using the associated function
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mean: Vec<f32> = Self::get_random_vector(dim);
[INFO] [stdout]    |                              ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_random_vector` in this scope
[INFO] [stdout]   --> src/main.rs:64:34
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let variance: Vec<f32> = get_random_vector(dim);
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider using the associated function
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let variance: Vec<f32> = Self::get_random_vector(dim);
[INFO] [stdout]    |                                  ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_random_vector` in this scope
[INFO] [stdout]   --> src/main.rs:64:34
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let variance: Vec<f32> = get_random_vector(dim);
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider using the associated function
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let variance: Vec<f32> = Self::get_random_vector(dim);
[INFO] [stdout]    |                                  ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `mean` in this scope
[INFO] [stdout]   --> src/main.rs:84:23
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let exp = x - mean
[INFO] [stdout]    |                       ^^^^ a field by this name exists in `Self`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::f64;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `mean` in this scope
[INFO] [stdout]   --> src/main.rs:84:23
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let exp = x - mean
[INFO] [stdout]    |                       ^^^^ a field by this name exists in `Self`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::f64;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:79:58
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub fn calculate_probability(data: Vec<Vec<f32>>) -> Vec<f32> {
[INFO] [stdout]    |            ---------------------                         ^^^^^^^^ expected struct `Vec`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<f32>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] help: consider returning the local binding `probs`
[INFO] [stdout]    |
[INFO] [stdout] 81 ~         let one = 1.0_f64;
[INFO] [stdout] 82 +         probs
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:79:58
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub fn calculate_probability(data: Vec<Vec<f32>>) -> Vec<f32> {
[INFO] [stdout]    |            ---------------------                         ^^^^^^^^ expected struct `Vec`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<f32>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] help: consider returning the local binding `probs`
[INFO] [stdout]    |
[INFO] [stdout] 81 ~         let one = 1.0_f64;
[INFO] [stdout] 82 +         probs
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:83:37
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn compute_prob(x: Vec<f32>) -> f32 {
[INFO] [stdout]    |        ------------                 ^^^ expected `f32`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout] help: consider returning the local binding `exp`
[INFO] [stdout]    |
[INFO] [stdout] 84 ~         let exp = x - mean
[INFO] [stdout] 85 +         exp
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:83:37
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn compute_prob(x: Vec<f32>) -> f32 {
[INFO] [stdout]    |        ------------                 ^^^ expected `f32`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout] help: consider returning the local binding `exp`
[INFO] [stdout]    |
[INFO] [stdout] 84 ~         let exp = x - mean
[INFO] [stdout] 85 +         exp
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `old_faithful_learn` due to 8 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `old_faithful_learn` due to 8 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "0ad7a9f32816bd380d6a9420d26b62633a46f9ef227cfafd30a9c4513df51262", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ad7a9f32816bd380d6a9420d26b62633a46f9ef227cfafd30a9c4513df51262", kill_on_drop: false }`
[INFO] [stdout] 0ad7a9f32816bd380d6a9420d26b62633a46f9ef227cfafd30a9c4513df51262
